home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Cream of the Crop 1
/
Cream of the Crop 1.iso
/
PROGRAM
/
CUJ9207.ARJ
/
1007091A
< prev
next >
Wrap
Text File
|
1992-06-03
|
340b
|
16 lines
static void do_copy (int infile, int tmp_file, long len)
{
int to_do;
char buffer [SIZE_BUFFER];
do
{
to_do = (int) (min ((long) SIZE_BUFFER, len));
read (infile, buffer, to_do);
write (tmp_file, buffer, to_do);
} while (len -= to_do);
return ;
}